Average word length |
---|
8.3043 |
word length | percentage |
---|---|
1 | 0.1941 |
2 | 1.2273 |
3 | 3.8804 |
4 | 5.8071 |
5 | 8.5201 |
6 | 9.8887 |
7 | 12.4775 |
8 | 13.0627 |
9 | 12.3191 |
10 | 10.3953 |
11 | 7.8636 |
12 | 5.2462 |
13 | 3.4137 |
14 | 2.1921 |
15 | 1.3515 |
16 | 0.8292 |
17 | 0.5651 |
18 | 0.2826 |
19 | 0.1598 |
20 | 0.1299 |
21 | 0.0671 |
22 | 0.0500 |
23 | 0.0285 |
24 | 0.0157 |
25 | 0.0186 |
26 | 0.0057 |
27 | 0.0114 |
28 | 0.0014 |
29 | 0.0100 |
30 | 0.0014 |
In this subsection we ignore the fact that words have different frequencies. So for the average word length, each word is considered equally. For a fixed word length, we count the number of different words having this length.
The plot of the word length against the number of words of this length usually has a clear maximum between 10 and 15. Moreover, with a logarithmic scale of the y-axis, we get a nearly linear part between length 15 and 40.
Average word length is one of the classic parameters for a language.
Counting without multiplicity makes average word length depending on the corpus size. A larger corpus contains more words, and the additional words are usually longer. Hence, average word length should increase with corpus size.
Average word length:
select avg(char_length(word)) from words where w_id>100;;
Data for large table:
SELECT @all:=count(*) from words where w_id>100;
select char_length(word), 100*count(*)/@all from words where w_id>100 group by char_length;
Do we have the linear part between 15 and 40 for (nearly) all languages?
Where does it come from?
Calculate and compare the slope!
3.5.1.2 Words by Length with multiplicity